package com.nulldev.util.networking.rudp;

import java.util.UUID;

public interface PeerReceiverListener {
	// When a new peer get connected to this peer let it now about it
	void connected(Connection connection);

	// When a new message have received
	void receivedMessage(Message message);

	// When a peer disconnect
	void disconnected(UUID connectionId);
}
